# near model CODE resource # jump table entries: 13944-13946 (3 of them) export_1743: 00000000 4E56 0000 link A6, 0 00000004 3F2E 0010 move.w -[A7], [A6 + 0x10] 00000008 2F2E 000C move.l -[A7], [A6 + 0xC] 0000000C 4EBA 0026 jsr [PC + 0x26 /* 00000034 */] 00000010 4E5E unlink A6 00000012 205F movea.l A0, [A7]+ 00000014 4FEF 000A lea.l A7, [A7 + 0xA] 00000018 4ED0 jmp [A0] 0000001A 9654 sub.w D3, [A4] 0000001C 4150 chk.w D0, [A0] 0000001E 504C addq.w A4, 8 00000020 4943 chk.w D4, D3 00000022 4154 chk.w D0, [A4] 00000024 494F chk.w D4, A7 00000026 4E2E .invalid // invalid opcode 4 00000028 5348 subq.w A0, 1 0000002A 4F57 chk.w D7, [A7] 0000002C 4552 chk.w D2, [A2] 0000002E 524F addq.w A7, 1 00000030 5200 addq.b D0, 1 00000032 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 00000034-0000003C export_1744: fn00000034: 00000034 4E56 FCFC link A6, -0x0304 00000038 48E7 0F00 movem.l -[A7], D4,D5,D6,D7 // end alternate branch 00000034-0000003C export_1744: // at 00000034 (misaligned) fn00000034: // (misaligned) 00000036 FCFC 48E7 .extension 0xCFC <> // unimplemented 0000003A 0F00 btst D0, D7 0000003C 382E 000C move.w D4, [A6 + 0xC] 00000040 3E3C 0080 move.w D7, 0x80 00000044 7C01 moveq.l D6, 0x01 00000046 487A 00F8 pea.l [PC + 0xF8 /* 00000140, value 0x4E56 'NV', cstring "" */] 0000004A 486E FD00 pea.l [A6 - 0x300] 0000004E 4EAD 02D2 jsr [A5 + 0x2D2 /* export_86 */] 00000052 41EE FE00 lea.l A0, [A6 - 0x200] 00000056 41EE FF00 lea.l A0, [A6 - 0x100] 0000005A 2D6E 0008 FCFC move.l [A6 - 0x304], [A6 + 0x8] 00000060 302E FCFC move.w D0, [A6 - 0x304] 00000064 5640 addq.w D0, 3 00000066 504F addq.w A7, 8 00000068 672A beq +0x2C /* 00000094 */ 0000006A 5340 subq.w D0, 1 0000006C 6726 beq +0x28 /* 00000094 */ 0000006E 5340 subq.w D0, 1 00000070 671A beq +0x1C /* 0000008C */ 00000072 5340 subq.w D0, 1 00000074 6634 bne +0x36 /* 000000AA */ 00000076 3E3C 0081 move.w D7, 0x81 0000007A 302E FCFE move.w D0, [A6 - 0x302] 0000007E 48C0 ext.l D0 00000080 2F00 move.l -[A7], D0 00000082 486E FD00 pea.l [A6 - 0x300] 00000086 4EAD 353A jsr [A5 + 0x353A /* export_1699 */] 0000008A 602E bra +0x30 /* 000000BA */ label0000008C: 0000008C 3E2E FCFE move.w D7, [A6 - 0x302] 00000090 4206 clr.b D6 00000092 6026 bra +0x28 /* 000000BA */ label00000094: 00000094 558F subq.l A7, 2 00000096 3F2E FCFE move.w -[A7], [A6 - 0x302] 0000009A 3F3C 0082 move.w -[A7], 0x82 0000009E 486E FD00 pea.l [A6 - 0x300] 000000A2 4EBA 0162 jsr [PC + 0x162 /* 00000206 */] 000000A6 544F addq.w A7, 2 000000A8 6010 bra +0x12 /* 000000BA */ label000000AA: 000000AA 486E FD00 pea.l [A6 - 0x300] 000000AE 3F2E FCFC move.w -[A7], [A6 - 0x304] 000000B2 3F2E FCFE move.w -[A7], [A6 - 0x302] 000000B6 4EAD 05EA jsr [A5 + 0x5EA /* export_185 */] label000000BA: 000000BA 4A06 tst.b D6 000000BC 6754 beq +0x56 /* 00000112 */ 000000BE 558F subq.l A7, 2 000000C0 3F04 move.w -[A7], D4 000000C2 3F3C 0080 move.w -[A7], 0x80 000000C6 486E FE00 pea.l [A6 - 0x200] 000000CA 4EBA 013A jsr [PC + 0x13A /* 00000206 */] 000000CE 70FD moveq.l D0, 0xFFFFFFFD 000000D0 B06E FCFC cmp.w D0, [A6 - 0x304] 000000D4 544F addq.w A7, 2 000000D6 6606 bne +0x8 /* 000000DE */ 000000D8 3A2E FCFE move.w D5, [A6 - 0x302] 000000DC 6002 bra +0x4 /* 000000E0 */ label000000DE: 000000DE 3A04 move.w D5, D4 label000000E0: 000000E0 558F subq.l A7, 2 000000E2 3F05 move.w -[A7], D5 000000E4 3F3C 0081 move.w -[A7], 0x81 000000E8 486E FF00 pea.l [A6 - 0x100] 000000EC 4EBA 0118 jsr [PC + 0x118 /* 00000206 */] 000000F0 486E FE00 pea.l [A6 - 0x200] 000000F4 486E FF00 pea.l [A6 - 0x100] 000000F8 486E FD00 pea.l [A6 - 0x300] 000000FC 486D F992 pea.l [A5 - 0x66E] 00000100 A98B syscall ParamText 00000102 7000 moveq.l D0, 0x00 00000104 102E FD00 move.b D0, [A6 - 0x300] 00000108 4A80 tst.l D0 0000010A 544F addq.w A7, 2 0000010C 6204 bhi +0x6 /* 00000112 */ 0000010E 3E3C 0082 move.w D7, 0x82 label00000112: 00000112 3F07 move.w -[A7], D7 00000114 4EAD 36BA jsr [A5 + 0x36BA /* export_1747 */] 00000118 422D F98A clr.b [A5 - 0x676] 0000011C 4A06 tst.b D6 0000011E 6704 beq +0x6 /* 00000124 */ 00000120 4278 0A9A clr.w [0x00000A9A /* ACount */] label00000124: 00000124 4CEE 00F0 FCEC movem.l D4,D5,D6,D7, [A6 - 0x314] 0000012A 4E5E unlink A6 0000012C 205F movea.l A0, [A7]+ 0000012E 5C4F addq.w A7, 6 00000130 4ED0 jmp [A0] 00000132 8A45 or.w D5, D5 00000134 5252 addq.w [A2], 1 00000136 4F52 chk.w D7, [A2] 00000138 414C chk.w D0, A4 0000013A 4552 chk.w D2, [A2] 0000013C 5400 addq.b D0, 2 0000013E 0002 0000 ori.b D2, 0x0 fn00000142: 00000142 4E56 FFFA link A6, -0x0006 00000146 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4 0000014A 266E 0008 movea.l A3, [A6 + 0x8] 0000014E 3A2E 000E move.w D5, [A6 + 0xE] 00000152 487A 00B0 pea.l [PC + 0xB0 /* 00000204, value 0x4E56 'NV', cstring "" */] 00000156 2F0B move.l -[A7], A3 00000158 4EAD 02DA jsr [A5 + 0x2DA /* export_87 */] 0000015C 598F subq.l A7, 4 0000015E 2F3C 6572 7273 move.l -[A7], 0x65727273 /* 'errs' */ 00000164 3F2E 000C move.w -[A7], [A6 + 0xC] 00000168 A9A0 syscall GetResource 0000016A 2D5F FFFC move.l [A6 - 0x4], [A7]+ 0000016E 504F addq.w A7, 8 00000170 676E beq +0x70 /* 000001E0 */ 00000172 4246 clr.w D6 00000174 558F subq.l A7, 2 00000176 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000017A 4EAD 031A jsr [A5 + 0x31A /* export_95 */] 0000017E 1D5F FFFB move.b [A6 - 0x5], [A7]+ 00000182 206E FFFC movea.l A0, [A6 - 0x4] 00000186 2850 movea.l A4, [A0] 00000188 598F subq.l A7, 4 0000018A 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000018E 4EAD 040A jsr [A5 + 0x40A /* export_125 */] 00000192 201F move.l D0, [A7]+ 00000194 7206 moveq.l D1, 0x06 00000196 4EAD 0162 jsr [A5 + 0x162 /* export_40 */] 0000019A 3800 move.w D4, D0 0000019C 7E01 moveq.l D7, 0x01 0000019E 6032 bra +0x34 /* 000001D2 */ label000001A0: 000001A0 4A54 tst.w [A4] 000001A2 6606 bne +0x8 /* 000001AA */ 000001A4 3C2C 0004 move.w D6, [A4 + 0x4] 000001A8 6024 bra +0x26 /* 000001CE */ label000001AA: 000001AA BA54 cmp.w D5, [A4] 000001AC 6D20 blt +0x22 /* 000001CE */ 000001AE BA6C 0002 cmp.w D5, [A4 + 0x2] 000001B2 6E1A bgt +0x1C /* 000001CE */ 000001B4 4A6C 0004 tst.w [A4 + 0x4] 000001B8 6F0C ble +0xE /* 000001C6 */ 000001BA 2F0B move.l -[A7], A3 000001BC 3F06 move.w -[A7], D6 000001BE 3F2C 0004 move.w -[A7], [A4 + 0x4] 000001C2 4EAD 05EA jsr [A5 + 0x5EA /* export_185 */] label000001C6: 000001C6 1D7C 0001 0010 move.b [A6 + 0x10], 0x1 000001CC 6016 bra +0x18 /* 000001E4 */ label000001CE: 000001CE 5247 addq.w D7, 1 000001D0 5C4C addq.w A4, 6 label000001D2: 000001D2 B847 cmp.w D4, D7 000001D4 6CCA bge -0x34 /* 000001A0 */ 000001D6 206E FFFC movea.l A0, [A6 - 0x4] 000001DA 102E FFFB move.b D0, [A6 - 0x5] 000001DE A06A syscall HSetState label000001E0: 000001E0 422E 0010 clr.b [A6 + 0x10] label000001E4: 000001E4 4CEE 18F0 FFE2 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x1E] 000001EA 4E5E unlink A6 000001EC 205F movea.l A0, [A7]+ 000001EE 504F addq.w A7, 8 000001F0 4ED0 jmp [A0] 000001F2 8E53 or.w D7, [A3] 000001F4 4541 chk.w D2, D1 000001F6 5243 addq.w D3, 1 000001F8 4845 swap.w D5 000001FA 5252 addq.w [A2], 1 000001FC 5441 addq.w D1, 2 000001FE 424C clr.w A4 00000200 4500 .invalid 2, D0 // invalid opcode 4 with b == 4 00000202 0002 0000 ori.b D2, 0x0 export_1745: fn00000206: 00000206 4E56 0000 link A6, 0 0000020A 48E7 0308 movem.l -[A7], D6,D7,A4 0000020E 286E 0008 movea.l A4, [A6 + 0x8] 00000212 3C2E 000C move.w D6, [A6 + 0xC] 00000216 3E2E 000E move.w D7, [A6 + 0xE] 0000021A 558F subq.l A7, 2 0000021C 3F07 move.w -[A7], D7 0000021E 3006 move.w D0, D6 00000220 D07C 03E8 add.w D0, 0x3E8 00000224 3F00 move.w -[A7], D0 00000226 2F0C move.l -[A7], A4 00000228 4EBA FF18 jsr [PC - 0xE8 /* 00000142 */] 0000022C 4A1F tst.b [A7]+ 0000022E 6708 beq +0xA /* 00000238 */ 00000230 1D7C 0001 0010 move.b [A6 + 0x10], 0x1 00000236 6010 bra +0x12 /* 00000248 */ label00000238: 00000238 558F subq.l A7, 2 0000023A 3F07 move.w -[A7], D7 0000023C 3F06 move.w -[A7], D6 0000023E 2F0C move.l -[A7], A4 00000240 4EBA FF00 jsr [PC - 0x100 /* 00000142 */] 00000244 1D5F 0010 move.b [A6 + 0x10], [A7]+ label00000248: 00000248 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC] 0000024E 4E5E unlink A6 00000250 205F movea.l A0, [A7]+ 00000252 504F addq.w A7, 8 00000254 4ED0 jmp [A0] 00000256 8F4C 4F4F pack -[A7], -[A4], 0x4F4F 0000025A 4B55 chk.w D5, [A5] 0000025C 5045 addq.w D5, 8 0000025E 5252 addq.w [A2], 1 00000260 5354 subq.w [A4], 1 00000262 5249 addq.w A1, 1 00000264 4E47 trap 7 00000266 0000 .incomplete